/*
 * OptionPaneDelegate.h  0.4.0 / Dec 05, 2010
 *
 * Copyright (c) 2010 - 2011, cute4j.com and contributors.
 *
 * This software is licensed under the LGPL version 2.1 license.
 * A copy of this license is included in the file LICENSE-LGPL.txt.
 */
#ifndef OPTIONPANEDELEGATE_H
#define OPTIONPANEDELEGATE_H

#include "Cute4jSwing.h"

// OptionPaneDelegate Class. ---------------------------------------------------

/*!
 * \brief OptionPane Delegate.
 *
 * \author Slobodan Vrkacevic
 * \version 0.4.0
 */
class CUTE4J_EXPORT OptionPaneDelegate
{
public: // native calls
  static jint showMessage(JNIEnv *env, jclass cls, jint messageType,
                          jlong parentDelegate, jstring text, jstring title,
                          jint options, jint defaultOption);
};

// Macro Definition. -----------------------------------------------------------

#define OPTION_PANE_DELEGATE (reinterpret_cast<OptionPaneDelegate *>(delegate))

#endif // OPTIONPANEDELEGATE_H
